//
//  YSShareModel.m
//  newYueLvHui
//
//  Created by Apple on 2020/9/12.
//  Copyright © 2020 Facebook. All rights reserved.
//

#import "YSShareModel.h"

@implementation YSShareModel

+ (instancetype)shareModelWithPlatformType:(YSSharePlatformType)type {
    
    YSShareModel *model = [[self alloc] init];
    model.platformType = type;
    
    switch (type) {
        case YS_WXSession:
            model.imgName = @"share_wx";
            model.title = @"微信好友";
            break;
        case YS_WXTimeline:
            model.imgName = @"share_timeline";
            model.title = @"朋友圈";
            break;
        case YS_WXMinProgram:
            model.imgName = @"share_min";
            model.title = @"微信小程序";
            break;
        case YS_CopyLink:
            model.imgName = @"share_copylink";
            model.title = @"复制链接";
            break;
        case YS_Placard:
            model.imgName = @"share_posters";
            model.title = @"分享海报";
            break;
        case YS_SavePhoto:
            model.imgName = @"share_save";
            model.title = @"保存相册";
            break;
            
        default:
             break;
    }
    
    return model;
}

@end


@implementation YSShareMessageModel

@end


@implementation YSShareImageModel

@end


@implementation YSShareWebLinkModel

@end

@implementation YSShareMinProgramModel

@end
